#pragma once
#include <iostream>
#include <string>
using namespace std;

class Worker {
public:
  // 显示个人信息
  virtual void showInfo() = 0;
  // 获取岗位名称
  virtual string getDeptName() = 0;

  int w_ID;
  char w_Name[20];
  int w_DeptId;
  virtual ~Worker() {}
};
